#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QColor>

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    ui->centralWidget->setStyleSheet("QWidget#centralWidget{background:url(:/res/bg1.jpg);}");

    QColor color = "#47A4E9";
    ui->widget->setBgColor(QColor( 0, 255, 0));
}

MainWindow::~MainWindow()
{
    delete ui;
}
